<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{{.Title}}</title>
    <style>
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.6;
            margin: 0;
            padding: 0;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
        }
        .container {
            max-width: 800px;
            margin: 0 auto;
            padding: 40px 20px;
            text-align: center;
            color: white;
        }
        .hero {
            margin-bottom: 40px;
        }
        .hero h1 {
            font-size: 3em;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }
        .hero p {
            font-size: 1.2em;
            opacity: 0.9;
        }
        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }
        .feature {
            background: rgba(255,255,255,0.1);
            padding: 30px;
            border-radius: 10px;
            backdrop-filter: blur(10px);
        }
        .feature h3 {
            margin-top: 0;
        }
        .cta {
            margin-top: 40px;
            font-size: 0.95em;
            opacity: 0.9;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="hero">
            <h1>Obsidian Share</h1>
            <p>轻松分享你的 Obsidian 文档</p>
        </div>

        <div class="features">
            <div class="feature">
                <h3>📝 文档分享</h3>
                <p>将你的 Markdown 文档转换为精美网页分享给他人。</p>
            </div>
            <div class="feature">
                <h3>🔒 权限控制</h3>
                <p>支持公开分享或密码保护的私有文档。</p>
            </div>
            <div class="feature">
                <h3>🎨 多种主题</h3>
                <p>提供多种美观的主题供你选择。</p>
            </div>
        </div>

        <div class="cta">
            <p>请在 Obsidian 插件中配置好 API 地址和 Token，</p>
            <p>然后从插件中上传文档并获取访问链接。</p>
        </div>
    </div>
</body>
</html>

